﻿using System.IO;
using Unity;
using XQ.Net.SDK;

namespace XQ.Net.Core.Export
{
    internal class _Main
    {
        public static XQAPI xqapi = new XQAPI();

        /// <summary>
        /// 容器
        /// </summary>
        public static UnityContainer Container { get; set; } = new UnityContainer();

        public static void Log(string log)
        {
            if (!Directory.Exists("XQNetLogs"))
            {
                Directory.CreateDirectory("XQNetLogs");
            }
            File.AppendAllText("XQNetLogs\\log.txt", log + "\n");
        }
    }
}